package com.java.zhuiyun.api.houserank.service;

import com.java.zhuiyun.api.houserank.entity.HouseRank;
import com.java.zhuiyun.common.response.CommonResult;
import com.java.zhuiyun.util.pageUtil.PageRequest;
import org.springframework.web.multipart.MultipartFile;

/**
 * @InterfaceName HouserankMapper
 * @Description TODO
 * @Author wuwan
 * @Date 2023/9/14 9:55
 **/
public interface HouserankService {
    /*
    * @Author wuwan
    * @Description 查询房屋全部数据
    * @Date 2023/10/12 10:42
    * @Return
    */
    CommonResult selectHouserank(PageRequest pageRequest);
    /*
    * @Author wuwan
    * @Description 添加房屋数据
    * @Date 2023/10/12 10:42
    * @Return
    */
    CommonResult addHouserank(MultipartFile file, HouseRank houseRank);
    /*
    * @Author wuwan
    * @Description 修改房屋数据
    * @Date 2023/10/12 10:43
    * @Return
    */
    CommonResult updateHouserank(MultipartFile file, HouseRank houseRank);
    /*
    * @Author wuwan
    * @Description 查询当前用户房屋信息
    * @Date 2023/10/12 10:43
    * @Return
    */
    CommonResult getHouseData(String openid);
}
